home *** CD-ROM | disk | FTP | other *** search
- Path: darkstar.UCSC.EDU!clp
- From: clp@cse.ucsc.edu (Chuck L. Peterson)
- Newsgroups: comp.lang.c++
- Subject: VC++ 4.0 GetLastError()
- Date: 23 Feb 1996 20:21:44 GMT
- Organization: University of California, Santa Cruz
- Message-ID: <4gl7ko$3f6@darkstar.UCSC.EDU>
- NNTP-Posting-Host: alumni.cse.ucsc.edu
-
- Does anyone have any suggestions on how to convert an
- errorCode to an ascii string description?
-
- As it is now, the only way I can think of is with:
- switch(GetLastError()) {
- case WSABLAHBLAH:
- str = "Blah Blah Error";
- break;
- ... repeat 40 times ...
- }
-
-